package com.music.service;

import com.music.pojo.UserInfo;
import com.music.utils.QueryVo;
import com.music.utils.ResultInfo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface UserService {
    QueryVo find_comprehensive(String param);

    UserInfo find_login(String username, String password);

    UserInfo find_verifyEmail(String email);

    void add_register(UserInfo userInfo);

    ResultInfo verify_registerCode(HttpServletRequest request,String code);

    void addUserSinger(Integer sid, Integer uid);

    void removeUserSinger(Integer sid, Integer uid);

    List<UserInfo> find_all();

    UserInfo findUserMusicDetail(Integer uid);
}
